app-id: io.github.acmepjz.meandmyshadow
runtime: org.freedesktop.Platform
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
command: meandmyshadow
modules:
  - name: lua
    no-autogen: true
    make-install-args:
      - INSTALL_TOP=/app
    sources:
      - type: archive
        url: https://www.lua.org/ftp/lua-5.4.6.tar.gz
        sha256: 7d5ea1b9cb6aa0b59ca3dde1c6adcb57ef83a1ba8e5432c0ecd06bf439b3ad88
  - name: meandmyshadow
    buildsystem: cmake
    sources:
      - type: archive
        url: https://sourceforge.net/projects/meandmyshadow/files/0.5a/meandmyshadow-0.5a-src.tar.gz
        sha256: 50f8a910498ed934be0d3b5b313f9fd5606c9cf14283b5eaf15ddffa98d92845
finish-args:
  - --device=all
  - --share=ipc
  - --share=network
  - --socket=x11
  - --socket=pulseaudio
  - --filesystem=home
